/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rukopisyimport.cli;

/**
 *
 * @author Martin Řehánek (rehan at mzk.cz)
 */
public class ActionResult {

    private final boolean success;
    private final Object resultData;

    public ActionResult(boolean success, Object resultData) {
        this.success = success;
        this.resultData = resultData;
    }

    public boolean wasSuccessfull() {
        return success;
    }

    public Object getResultData() {
        return resultData;
    }
}
